package com.ruoyi.system.domain;

import java.util.List;
import java.util.Objects;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报单数据管理对象 declaration
 * 
 * @author 海田精品馆
 * @date 2022-07-27
 */

public class Declaration extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long decId;

    /** 报单编号 */
    @Excel(name = "报单编号")
    private String decNo;

    /** 活动编号 */
    @Excel(name = "活动编号")
    private String decActivityNo;

    /** 活动名称 */
    @Excel(name = "活动名称")
    private String decActivityName;

    /** 角色类型 */
    private String decRoleCode;

    /** 报单类型 */
    @Excel(name = "报单类型")
    private String decType;

    /** 军团/联盟名称 */
    @Excel(name = "军团/联盟名称")
    private String decTypeName;

    /** 角色名称 */
    private String decRoleName;

    /** vip卡号 */
    @Excel(name = "vip卡号")
    private String decVipCardNo;

    /** 单号 */
    @Excel(name = "单号")
    private String decOrderNo;

    /** 品牌 */
    @Excel(name = "品牌")
    private String decBrand;

    /** 金额 */
    @Excel(name = "金额")
    private Long decAmount;

    /** 签单类型 */
     private String decSignTypeCode;

    /** 签单类型 */
    @Excel(name = "签单类型")
    private String decSignTypeName;

    /** 客户姓名 */
    @Excel(name = "客户姓名")
    private String decCustomerName;

    /** 联系电话 */
    private String decTelphone;

    /** 录单人姓名 */
    @Excel(name = "录单人姓名")
    private String decPersonName;
    /** 奖品 */
    @Excel(name = "奖品")
    private String    decGift;
    /** 报单状态 */
    @Excel(name = "报单状态")
    private String decStatus;

    /** 客户姓名 */
    @Excel(name = "客户姓名")
    private String cusName;

    /** 客户电话 */
    @Excel(name = "客户电话")
    private String cusPhone;

    /** 客户地址 */
    @Excel(name = "客户地址")
    private String cusAddress;

    /**
     * 带单人品牌
     */
    @Excel(name = "带单人品牌")
    private String decAgentBrand;

    /**
     * 带单人姓名
     */
    @Excel(name = "带单人姓名")
    private String decAgentPersonName;





    /** 备注 */
    private String decRemark;

    /** 是否删除 0 否 1 是 */
    private Integer delFlag;


    @Override
    public String toString() {
        return "Declaration{" +
                "decId=" + decId +
                ", decNo='" + decNo + '\'' +
                ", decActivityNo='" + decActivityNo + '\'' +
                ", decActivityName='" + decActivityName + '\'' +
                ", decRoleCode='" + decRoleCode + '\'' +
                ", decType='" + decType + '\'' +
                ", decTypeName='" + decTypeName + '\'' +
                ", decRoleName='" + decRoleName + '\'' +
                ", decVipCardNo='" + decVipCardNo + '\'' +
                ", decOrderNo='" + decOrderNo + '\'' +
                ", decBrand='" + decBrand + '\'' +
                ", decAmount=" + decAmount +
                ", decSignTypeCode='" + decSignTypeCode + '\'' +
                ", decSignTypeName='" + decSignTypeName + '\'' +
                ", decCustomerName='" + decCustomerName + '\'' +
                ", decTelphone='" + decTelphone + '\'' +
                ", decPersonName='" + decPersonName + '\'' +
                ", decGift='" + decGift + '\'' +
                ", decStatus='" + decStatus + '\'' +
                ", cusName='" + cusName + '\'' +
                ", cusPhone='" + cusPhone + '\'' +
                ", cusAddress='" + cusAddress + '\'' +
                ", decRemark='" + decRemark + '\'' +
                ", delFlag=" + delFlag +
                '}';
    }

    public String getDecAgentBrand() {
        return decAgentBrand;
    }

    public void setDecAgentBrand(String decAgentBrand) {
        this.decAgentBrand = decAgentBrand;
    }

    public String getDecAgentPersonName() {
        return decAgentPersonName;
    }

    public void setDecAgentPersonName(String decAgentPersonName) {
        this.decAgentPersonName = decAgentPersonName;
    }

    public String getDecTypeName() {
        return decTypeName;
    }

    public void setDecTypeName(String decTypeName) {
        this.decTypeName = decTypeName;
    }

    public String getCusName() {
        return cusName;
    }

    public void setCusName(String cusName) {
        this.cusName = cusName;
    }

    public String getCusPhone() {
        return cusPhone;
    }

    public void setCusPhone(String cusPhone) {
        this.cusPhone = cusPhone;
    }

    public String getCusAddress() {
        return cusAddress;
    }

    public void setCusAddress(String cusAddress) {
        this.cusAddress = cusAddress;
    }

    public void setDecId(Long decId)
    {
        this.decId = decId;
    }

    public Long getDecId() 
    {
        return decId;
    }
    public void setDecNo(String decNo) 
    {
        this.decNo = decNo;
    }

    public String getDecNo() 
    {
        return decNo;
    }
    public void setDecActivityNo(String decActivityNo) 
    {
        this.decActivityNo = decActivityNo;
    }

    public String getDecActivityNo() 
    {
        return decActivityNo;
    }
    public void setDecActivityName(String decActivityName) 
    {
        this.decActivityName = decActivityName;
    }

    public String getDecActivityName() 
    {
        return decActivityName;
    }
    public void setDecRoleCode(String decRoleCode) 
    {
        this.decRoleCode = decRoleCode;
    }

    public String getDecRoleCode() 
    {
        return decRoleCode;
    }
    public void setDecType(String decType) 
    {
        this.decType = decType;
    }

    public String getDecType() 
    {
        return decType;
    }
    public void setDecRoleName(String decRoleName) 
    {
        this.decRoleName = decRoleName;
    }

    public String getDecRoleName() 
    {
        return decRoleName;
    }
    public void setDecVipCardNo(String decVipCardNo) 
    {
        this.decVipCardNo = decVipCardNo;
    }

    public String getDecVipCardNo() 
    {
        return decVipCardNo;
    }
    public void setDecOrderNo(String decOrderNo) 
    {
        this.decOrderNo = decOrderNo;
    }

    public String getDecOrderNo() 
    {
        return decOrderNo;
    }
    public void setDecBrand(String decBrand) 
    {
        this.decBrand = decBrand;
    }

    public String getDecBrand() 
    {
        return decBrand;
    }
    public void setDecAmount(Long decAmount) 
    {
        this.decAmount = decAmount;
    }

    public Long getDecAmount() 
    {
        return decAmount;
    }
    public void setDecSignTypeCode(String decSignTypeCode) 
    {
        this.decSignTypeCode = decSignTypeCode;
    }

    public String getDecSignTypeCode() 
    {
        return decSignTypeCode;
    }
    public void setDecSignTypeName(String decSignTypeName) 
    {
        this.decSignTypeName = decSignTypeName;
    }

    public String getDecSignTypeName() 
    {
        return decSignTypeName;
    }
    public void setDecCustomerName(String decCustomerName) 
    {
        this.decCustomerName = decCustomerName;
    }

    public String getDecCustomerName() 
    {
        return decCustomerName;
    }
    public void setDecTelphone(String decTelphone) 
    {
        this.decTelphone = decTelphone;
    }

    public String getDecTelphone() 
    {
        return decTelphone;
    }
    public void setDecPersonName(String decPersonName) 
    {
        this.decPersonName = decPersonName;
    }

    public String getDecPersonName() 
    {
        return decPersonName;
    }
    public void setDecStatus(String decStatus) 
    {
        this.decStatus = decStatus;
    }

    public String getDecStatus() 
    {
        return decStatus;
    }
    public void setDecRemark(String decRemark) 
    {
        this.decRemark = decRemark;
    }

    public String getDecRemark() 
    {
        return decRemark;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }


    public String getDecGift() {
        return decGift;
    }

    public void setDecGift(String decGift) {
        this.decGift = decGift;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Declaration that = (Declaration) o;
        return Objects.equals(decId, that.decId) && Objects.equals(decNo, that.decNo) && Objects.equals(decActivityNo, that.decActivityNo) && Objects.equals(decActivityName, that.decActivityName) && Objects.equals(decRoleCode, that.decRoleCode) && Objects.equals(decType, that.decType) && Objects.equals(decRoleName, that.decRoleName) && Objects.equals(decVipCardNo, that.decVipCardNo) && Objects.equals(decOrderNo, that.decOrderNo) && Objects.equals(decBrand, that.decBrand) && Objects.equals(decAmount, that.decAmount) && Objects.equals(decSignTypeCode, that.decSignTypeCode) && Objects.equals(decSignTypeName, that.decSignTypeName) && Objects.equals(decCustomerName, that.decCustomerName) && Objects.equals(decTelphone, that.decTelphone) && Objects.equals(decPersonName, that.decPersonName) && Objects.equals(decGift, that.decGift) && Objects.equals(decStatus, that.decStatus) && Objects.equals(decRemark, that.decRemark) && Objects.equals(delFlag, that.delFlag);
    }

    @Override
    public int hashCode() {
        return Objects.hash(decId, decNo, decActivityNo, decActivityName, decRoleCode, decType, decRoleName, decVipCardNo, decOrderNo, decBrand, decAmount, decSignTypeCode, decSignTypeName, decCustomerName, decTelphone, decPersonName, decGift, decStatus, decRemark, delFlag);
    }

}
